package com.qj.yantaishan.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 本地化物流-配送员对象 shanglala_store_physical_courier
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class StorePhysicalCourier
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer courierId;

    /** 配送员名称 */
    @Excel(name = "配送员名称")
    private String name;

    /** 性别(默认1)：0女 1男 */
    @Excel(name = "性别(默认1)：0女 1男")
    private Integer sex;

    /** 客服头像 */
    @Excel(name = "客服头像")
    private String avatar;

    /** 手机号 */
    @Excel(name = "手机号")
    private String tel;

    /** 绑定openid */
    @Excel(name = "绑定openid")
    private String openid;

    /** openid类型0为店铺1为平台 */
    @Excel(name = "openid类型0为店铺1为平台")
    private Integer openidType;

    /** 所属店铺 */
    @Excel(name = "所属店铺")
    private Long storeId;

    /** 所属门店，-1主店 */
    @Excel(name = "所属门店，-1主店")
    private Long physicalId;

    /** 配送员状态：0关闭 1启用 */
    @Excel(name = "配送员状态：0关闭 1启用")
    private Integer status;

    /** 配送员 经度 */
    @Excel(name = "配送员 经度")
    @TableField("`long`")
    private BigDecimal long1;

    /** 配送员 纬度 */
    @Excel(name = "配送员 纬度")
    private BigDecimal lat;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Long addTime;

    /** 最后上报坐标时间 */
    @Excel(name = "最后上报坐标时间")
    private Long locationTime;

    /** 0正常1删除 */
    @Excel(name = "0正常1删除")
    private Integer isDelete;

    public void setCourierId(Integer courierId) 
    {
        this.courierId = courierId;
    }

    public Integer getCourierId() 
    {
        return courierId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setOpenidType(Integer openidType) 
    {
        this.openidType = openidType;
    }

    public Integer getOpenidType() 
    {
        return openidType;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setPhysicalId(Long physicalId) 
    {
        this.physicalId = physicalId;
    }

    public Long getPhysicalId() 
    {
        return physicalId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setLong(BigDecimal long1)
    {
        this.long1 = long1;
    }

    public BigDecimal getLong() 
    {
        return long1;
    }
    public void setLat(BigDecimal lat) 
    {
        this.lat = lat;
    }

    public BigDecimal getLat() 
    {
        return lat;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }
    public void setLocationTime(Long locationTime) 
    {
        this.locationTime = locationTime;
    }

    public Long getLocationTime() 
    {
        return locationTime;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courierId", getCourierId())
            .append("name", getName())
            .append("sex", getSex())
            .append("avatar", getAvatar())
            .append("tel", getTel())
            .append("openid", getOpenid())
            .append("openidType", getOpenidType())
            .append("storeId", getStoreId())
            .append("physicalId", getPhysicalId())
            .append("status", getStatus())
            .append("long", getLong())
            .append("lat", getLat())
            .append("addTime", getAddTime())
            .append("locationTime", getLocationTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
